
export function assert(condition: boolean, message: string='assert failed'): asserts condition {
  if(!condition) {
    throw new Error(message);
  }
}
